<script setup lang="ts">
import { ref } from "vue";
import Channel from "./components/channel.vue";
import ChannelList from "./components/channelList.vue";

const channelId = ref('0')
</script>

<template>
  <Channel @changeChannelId="channelId = $event" :channelId="channelId" />
  <ChannelList :channelId="channelId" />
</template>
